﻿<Window x:Class="ParsecClient.MessageWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ErrorWindow" MinHeight="100" Width="350" WindowStyle="None" Background="Transparent" AllowsTransparency="True" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" SizeToContent="WidthAndHeight" ShowInTaskbar="False" ShowActivated="False" Loaded="Window_Loaded">
    <Border CornerRadius="3" BorderBrush="#FF444444" BorderThickness="1" Margin="15">
        <Grid Margin="10">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Name="txtContent" Grid.Row="0" FontSize="16" FontWeight="Normal" Margin="20 20 20 10" MaxWidth="500" TextWrapping="Wrap" TextAlignment="Center" Foreground="Black"></TextBlock>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1">
                <Button Name="btnOk" Margin="0 0 8 0" Padding="2" Width="60" Click="btnOk_Click" Style="{StaticResource PlainButton}">Ok</Button>
                <Button Name="btnCancel" Padding="2" Width="60" Click="btnCancel_Click" Style="{StaticResource PlainButton}">Cancel</Button>
            </StackPanel>
            </Grid>
        <Border.Effect>
            <DropShadowEffect BlurRadius="15" ShadowDepth="0" Opacity=".8" />
        </Border.Effect>
        <Border.Background>
            <RadialGradientBrush>
                <GradientStop Color="White" Offset="0.619" />
                <GradientStop Color="#FFF5F5F5" Offset="1" />
            </RadialGradientBrush>
        </Border.Background>
    </Border>
</Window>